<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<h1>json对象创建</h1>
		<script>
			person = {name:'Jack',age:20,
			    addr:{
			    	homeADDr:'太原市迎泽区',
			    	workADDr:'太原市小店区'
			    }
			};
			alert(person.addr.homeADDr);
			alert(person["age"]);
			students = [
			    {name:'bzk',age:23},
			    {name:'ddd',age:10}
			];
			alert(students[1].age)
		</script>
	</body>
</html>
